package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysEmerTeListMapper;
import com.ruoyi.system.domain.SysEmerTeList;
import com.ruoyi.system.service.ISysEmerTeListService;

/**
 * 应急TE单清单Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-25
 */
@Service
public class SysEmerTeListServiceImpl implements ISysEmerTeListService 
{
    @Autowired
    private SysEmerTeListMapper sysEmerTeListMapper;

    /**
     * 查询应急TE单清单
     * 
     * @param ID 应急TE单清单主键
     * @return 应急TE单清单
     */
    @Override
    public SysEmerTeList selectSysEmerTeListByID(String ID)
    {
        return sysEmerTeListMapper.selectSysEmerTeListByID(ID);
    }

    /**
     * 查询应急TE单清单列表
     * 
     * @param sysEmerTeList 应急TE单清单
     * @return 应急TE单清单
     */
    @Override
    public List<SysEmerTeList> selectSysEmerTeListList(SysEmerTeList sysEmerTeList)
    {
        return sysEmerTeListMapper.selectSysEmerTeListList(sysEmerTeList);
    }

    /**
     * 新增应急TE单清单
     * 
     * @param sysEmerTeList 应急TE单清单
     * @return 结果
     */
    @Override
    public int insertSysEmerTeList(SysEmerTeList sysEmerTeList)
    {
        return sysEmerTeListMapper.insertSysEmerTeList(sysEmerTeList);
    }

    /**
     * 修改应急TE单清单
     * 
     * @param sysEmerTeList 应急TE单清单
     * @return 结果
     */
    @Override
    public int updateSysEmerTeList(SysEmerTeList sysEmerTeList)
    {
        return sysEmerTeListMapper.updateSysEmerTeList(sysEmerTeList);
    }

    /**
     * 批量删除应急TE单清单
     * 
     * @param IDs 需要删除的应急TE单清单主键
     * @return 结果
     */
    @Override
    public int deleteSysEmerTeListByIDs(String[] IDs)
    {
        return sysEmerTeListMapper.deleteSysEmerTeListByIDs(IDs);
    }

    /**
     * 删除应急TE单清单信息
     * 
     * @param ID 应急TE单清单主键
     * @return 结果
     */
    @Override
    public int deleteSysEmerTeListByID(String ID)
    {
        return sysEmerTeListMapper.deleteSysEmerTeListByID(ID);
    }
}
